#!/usr/bin/python
Import ('env')

sources = 'stubs.c'

incs = '#/intern/guardedalloc'
incs += ' #/source/blender/makesdna'
incs += ' #/source/blender/makesrna'
incs += ' #/source/blender/blenloader'

defs = ''
if env['WITH_BF_INTERNATIONAL']:
    defs += 'WITH_FREETYPE2'

if env['WITH_BF_GAMEENGINE']:
    defs += ' WITH_GAMEENGINE'

env.BlenderLib ('blenkernel_blc', sources = Split(sources), includes=Split(incs), defines=Split(defs), libtype=['player'],priority=[220] )
